import request from "@/axios";

// 获取客户列表
export const getCustomers = option =>
  request({
    url: "/api/company/getcustomerpage",
    method: "post",
    data: option
  });

// 获取添加客户列表
export const getAddCustomers = option =>
  request({
    url: "/api/company/getaddcustomerpage",
    method: "post",
    data: option
  });

// 添加客户关系
export const addCustomers = option =>
  request({
    url: "/api/company/addcustomer",
    method: "post",
    data: option
  });
